﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ExpenseManagement.Areas.User.Models;
using ExpenseManagement.Areas.User.Views;
using EM.BasePage;
namespace ExpenseManagement.Areas.User.Controllers
{
    public class UserRegistrationController : Controller
    {
        public string Index()
        {
            UserRegistrationView view = new UserRegistrationView();
            return view.Render();
        }

        public bool RegisterUser()
        {
            UserRegistrationModel model = new UserRegistrationModel();
            UserRegistrationView view = new UserRegistrationView();
            view.Unbind(Request.Form, model);
            return true;
        }
    }
}
